package demo.java.b_cases;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.SimpleTagSupport;

public class Demo02_choose extends SimpleTagSupport{
	
	//存放一个临时的test属性
	private boolean flag;
	
	
	public boolean getFlag() {
		return flag;
	}


	public void setFlag(boolean flag) {
		this.flag = flag;
	}


	@Override
	public void doTag() throws JspException, IOException {
		//不过有什么内容都输出
		this.getJspBody().invoke(null);
	}
}
